package com.waiting.thread;

/**
 * @Description
 * @Author bjweitingting
 * @Date 2019/3/7
 **/
public class VolatileTest {
    public static  volatile int test = 0;
    public int param = 1;

    public static void main(String[] args) {
        VolatileTest test = new VolatileTest();
        test.test = 10;
        test.param = 15;
    }
}
